Xbasic

OBJECT.HIDE Function

Syntax

.Hide()

Description

Hides the window.

Hides the main Alpha Anywhere program window.

Hiding the Control Panel discards all previously defined variables.

The <OBJECT>.HIDE() method applies to:

Alpha Anywhere (for <OBJECT> use the keyword "A5")
Control Panel (for <OBJECT> use the keyword "CONTROLPANEL")
Status Bar (for <OBJECT> use the keyword "STATUSBAR")
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
Form Controls (for <OBJECT> use the <CONTROL> pointer or the address of the control)

The <OBJECT>.HIDE() method hides the window.

Example

The following example displays, then hides the Customer Information form window.

dim ptr as P
ptr = form.load("Customer Information")
ptr.show()
ptr.hide()

Limitations

Desktop applications only.

See Also